package cn.iocoder.yudao.module.pay.controller.admin.collect.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 收款订单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PayCollectOrderRespVO {

    @Schema(description = "订单ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30578")
    @ExcelProperty("订单ID")
    private Long id;

    @Schema(description = "订单号（业务唯一标识）", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("订单号（业务唯一标识）")
    private String orderNo;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14736")
    @ExcelProperty("用户ID")
    private Long userId;
    private String userName;

    @Schema(description = "关联收款信息ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "29376")
    @ExcelProperty("关联收款信息ID")
    private Long collectInfoId;

    @Schema(description = "应收金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("应收金额")
    private BigDecimal amount;

    @Schema(description = "实际到账金额")
    @ExcelProperty("实际到账金额")
    private BigDecimal actualAmount;

    @Schema(description = "手续费")
    @ExcelProperty("手续费")
    private BigDecimal fee;

    @Schema(description = "支付凭证截图URL", example = "https://www.iocoder.cn")
    @ExcelProperty("支付凭证截图URL")
    private List<String> payPicUrl;

    @Schema(description = "用户备注", example = "随便")
    @ExcelProperty("用户备注")
    private String remark;

    @Schema(description = "状态：0-待审核，1-已到账，2-审核失败", example = "2")
    @ExcelProperty("状态：0-待审核，1-已到账，2-审核失败")
    private Integer status;

    @Schema(description = "审核人ID", example = "19324")
    @ExcelProperty("审核人ID")
    private Long auditAdminId;
    private String auditAdminName;

    @Schema(description = "审核意见", example = "不好")
    @ExcelProperty("审核意见")
    private String auditReason;

    @Schema(description = "审核时间")
    @ExcelProperty("审核时间")
    private LocalDateTime auditTime;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    private String payOrderNo;
    private Integer type;

}